<%= simple_form_for(@post, html: {class: "form-signin"}) do |f| %>
  <%= f.error_notification %>

    <%= f.input :title, placeholder: "帖子名称", autofocus: true, label: false, input_html: {class: "form-control"}  %>
    <%= f.input :content, placeholder: "请输入帖子内容", label: false, rows: "4", input_html: {class: "form-control"}  %>
    <%= f.button :submit, class: "btn btn-primary btn-block" %>

<% end %>
